From: Juanma Barranquero Date: Wed, 12 Feb 2003 14:11:04 +0000 (+0000) Subject: (file-truename): Revert change from 2002-11-27. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~28305 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=d1675fee3e7687ed20b1d3a2960afad12fee74af;p=emacs.git (file-truename): Revert change from 2002-11-27. --- diff --git a/lisp/files.el b/lisp/files.el index 5ba163fc671..6d8aee3fe01 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -682,10 +682,8 @@ Do not specify them in other calls." (setq filename (funcall handler 'file-truename filename)) ;; If filename contains a wildcard, newname will be the old name. (unless (string-match "[[*?]" filename) - ;; If filename exists, use the long name, otherwise - ;; canonicalize the name, to handle case differences. - (setq filename (or (w32-long-file-name filename) - (untranslated-canonical-name filename))))) + ;; If filename exists, use the long name + (setq filename (or (w32-long-file-name filename) filename)))) (setq done t))) ;; If this file directly leads to a link, process that iteratively